package com.ivt.service;

import java.util.List;
import java.util.Set;

import com.ivt.core.ex.IvtException;
import com.ivt.model.Attendance;
import com.ivt.model.view.QueryCriteria;

public interface AttendanceService {


	public Attendance create(Attendance attendance) throws IvtException;

	public Attendance update(Attendance attendance) throws IvtException;

	public long queryCount(QueryCriteria queryCriteria) throws IvtException;

	public List<Attendance> queryClassesByCriteria(QueryCriteria queryCriteria)
			throws IvtException;

	public Attendance delete(Long attendanceId) throws IvtException;
	
	public int deletes(Long[] attendanceIds) throws IvtException;


	public List<Attendance> getAttendance(Set<Long> attendanceId) throws IvtException;

	public Attendance getAttendance(Long id) throws IvtException;

}
